<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=drive-width,initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<link rel="stylesheet" href="static/login.css">
<!-- font-awesome 图标字体 http://www.fontawesome.com.cn/faicons/#web-application -->
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" media="screen" rel="stylesheet" type="text/css">
<title>登录</title>
</head>
<body>
<form action="/login" method="post" name="login" onsubmit="return handleLogin(event)">
        <div id="login-box">
            <h1>登录</h1>
            <div class="form">
                <div class="item">
                    <i class="fa fa-user-circle-o" aria-hidden="true"></i>
                    <input type="text" name="username" placeholder="Username" id="username1" maxlength="20">
                </div>
                <div class="item">
                    <i class="fa fa-key" aria-hidden="true"></i>
                    <input type="password" name="password" placeholder="Password" id="password1" maxlength="20">
                </div>
            </div>
            <button type="submit">Login</button>
        </div>
    <div id="error-message" class="error-box hidden">
        <p id="error-text"></p>
    </div>
</form>
</body>
</html>